package com.yanqu.road.server.cmd.beautyescort;

import com.yanqu.road.message.YanQuMessage;
import com.yanqu.road.server.cmd.base.AbstractCommand;
import com.yanqu.road.server.command.Cmd;
import com.yanqu.road.server.gameplayer.GamePlayer;
import com.yanqu.road.server.manger.beautyescort.BeautyEscortMgr;
import com.yanqu.road.server.protocol.Protocol;

@Cmd(code = Protocol.S_BEAUTY_ESCORT_NOTIFY_UPLOAD_VALUE_FROM_CROSS, desc = "跨服通知上传榜单值（按区服）")
public class BeautyEscortNofityUploadValueCmdFromCross extends AbstractCommand {

    @Override
    public boolean parseData(YanQuMessage packet) throws Exception {
        return true;
    }

    @Override
    public void execute(GamePlayer player, YanQuMessage packet) throws Exception {

        BeautyEscortMgr.uploadWeekRankValue();

    }

    @Override
    public void sendData(GamePlayer player) {

    }
}
